package com.write.program.socket.message;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Endstart
 * Date: 2019-11-20
 * Time: 23:28
 */
public class LogoutMessage extends Message{

    private String username;

    public LogoutMessage() {
    }


    @Override
    public int getType() {
        return MessageConst.LOGOUT_MESSAGE_TYPE;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
